package com.qiji.video.bean.vo;

import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;

public class BrowsingHistoryAndVideo {
    private Integer id;

    private Integer uid;

    private Integer vid;

    private String vname;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date browseTime;

    private String fileName;

    private String coverImg;

    private String synopsis;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public String getVname() {
        return vname;
    }

    public void setVname(String vname) {
        this.vname = vname;
    }

    public Date getBrowseTime() {
        return browseTime;
    }

    public void setBrowseTime(Date browseTime) {
        this.browseTime = browseTime;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public String getSynopsis() {
        return synopsis;
    }

    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }

    @Override
    public String toString() {
        return "BrowsingHistoryAndVideo{" +
                "id=" + id +
                ", uid=" + uid +
                ", vid=" + vid +
                ", vname='" + vname + '\'' +
                ", browseTime=" + browseTime +
                ", fileName='" + fileName + '\'' +
                ", coverImg='" + coverImg + '\'' +
                ", synopsis='" + synopsis + '\'' +
                '}';
    }
}
